package com.cby.springboot.demo.service;

import com.cby.springboot.demo.bean.AdminRole;
import com.cby.springboot.demo.mapper.AdminRoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("adminRoleService")
public class AdminRoleServiceImpl implements AdminRoleService{

    @Autowired
    AdminRoleMapper adminRoleMapper;

    @Override
    public AdminRole findById(int id) {
        return adminRoleMapper.findById(id);
    }
}
